Skip to content

Conversation

humitos
Copy link
Member

@humitos humitos commented Aug 19, 2025

We want to skip the default permsissions check here (done at get_queryset() method) because it filters the object by build API key and/or user access.

Since we are making an anonymous request without a build API key, we need to skip this check and base it only on the ?builder= GET attribute.

@humitos humitos requested a review from a team as a code owner August 19, 2025 10:58
@humitos humitos requested a review from stsewd August 19, 2025 10:58
We want to skip the default permsissions check here (done at `get_queryset()`
method) because it filters the object by build API key and/or user access.

Since we are making an anonymous request without a build API key, we need to
skip this check and base it only on the `?builder=` GET attribute.
@humitos humitos force-pushed the humitos/healthcheck-api-permissions branch from e82ef87 to d415010 Compare August 19, 2025 11:02
@humitos humitos added the PR: hotfix Pull request applied as hotfix to release label Aug 19, 2025
Copy link
Member

@stsewd stsewd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have a test

@humitos humitos requested a review from stsewd August 20, 2025 07:46
@humitos humitos enabled auto-merge (squash) August 21, 2025 12:31
@humitos humitos merged commit 8a089a3 into main Aug 21, 2025
4 of 5 checks passed
@humitos humitos deleted the humitos/healthcheck-api-permissions branch August 21, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: hotfix Pull request applied as hotfix to release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants